home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / src / sprited / sys / sysCallNums.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-17  |  3.0 KB  |  99 lines

  1. /*
  2.  * sysCallNums.h --
  3.  *
  4.  *    Indices into per-system-call counters.
  5.  *    XXX Should be machine-generated from spriteSrv.defs?
  6.  *
  7.  * Copyright 1992 Regents of the University of California
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that this copyright
  11.  * notice appears in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /user5/kupfer/spriteserver/src/sprited/sys/RCS/sysCallNums.h,v 1.3 92/07/17 16:36:05 kupfer Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _SYSCALLNUMS
  20. #define _SYSCALLNUMS
  21.  
  22. /* 
  23.  * Base number that MIG will use for generating procedure numbers.
  24.  */
  25. #define SYS_CALL_BASE        37000
  26.  
  27. #define TEST_PUT_DECIMAL_STUB        0
  28. #define TEST_PUT_HEX_STUB        1
  29. #define TEST_PUT_OCTAL_STUB        2
  30. #define TEST_PUT_MESSAGE_STUB        3
  31. #define    TEST_PUT_STRING_STUB        4
  32. #define TEST_GET_STRING_STUB        5
  33. #define SYS_SHUTDOWN_STUB        6
  34. #define SYS_GET_TIME_OF_DAY_STUB    7
  35. #define SYS_STATS_STUB            8
  36. #define SYS_GET_MACHINE_INFO_STUB    9
  37. #define VM_MAP_FILE_STUB        15
  38. #define VM_CREATE_VA_STUB        16
  39. #define VM_CMD_STUB            17
  40. #define VM_CMD_INBAND_STUB        18
  41. #define FS_ACCESS_STUB            29
  42. #define FS_ATTACH_DISK_STUB        30
  43. #define FS_CHANGE_DIR_STUB        31
  44. #define FS_GET_ATTRIBUTES_STUB        32
  45. #define FS_HARD_LINK_STUB        33
  46. #define FS_MAKE_DEVICE_STUB        34
  47. #define FS_MAKE_DIR_STUB        35
  48. #define FS_OPEN_STUB            36
  49. #define FS_READ_LINK_STUB        37
  50. #define FS_REMOVE_DIR_STUB        38
  51. #define FS_REMOVE_STUB            39
  52. #define FS_RENAME_STUB            40
  53. #define FS_SET_ATTR_STUB        41
  54. #define FS_SYMLINK_STUB            42
  55. #define FS_CLOSE_STUB            43
  56. #define FS_CREATE_PIPE_STUB        44
  57. #define FS_GET_ATTRIBUTES_ID_STUB    45
  58. #define FS_GET_NEW_ID_STUB        46
  59. #define FS_IO_CONTROL_STUB        47
  60. #define FS_READ_STUB            48
  61. #define FS_SET_ATTRID_STUB        49
  62. #define FS_WRITE_STUB            50
  63. #define FS_COMMAND_STUB            51
  64. #define FS_SET_DEF_PERM_STUB        52
  65. #define FS_SELECT_STUB            53
  66. #define FS_FILE_WRITE_BACK_STUB        54
  67. #define NET_INSTALL_ROUTE_STUB        59
  68. #define PROC_FORK_STUB            61
  69. #define PROC_GET_IDS_STUB        62
  70. #define PROC_OLD_EXEC_ENV_STUB        63
  71. #define PROC_RAW_EXIT_STUB        64
  72. #define PROC_WAIT_STUB            65
  73. #define PROC_DETACH_STUB        66
  74. #define PROC_GET_FAMILY_ID_STUB        67
  75. #define PROC_GET_GROUP_IDS_STUB        68
  76. #define PROC_GET_PCB_INFO_STUB        69
  77. #define PROC_SET_FAMILY_ID_STUB        70
  78. #define PROC_SET_GROUP_IDS_STUB        71
  79. #define PROC_SET_IDS_STUB        72
  80. #define PROC_GET_INTERVAL_TIMER_STUB    73
  81. #define PROC_SET_INTERVAL_TIMER_STUB    74
  82. #define PROC_GET_HOST_IDS_STUB        75
  83. #define PROC_EXEC_ENV_STUB        76
  84. #define SIG_PAUSE_STUB            85
  85. #define SIG_SEND_STUB            86
  86. #define SIG_SET_ACTION_STUB        87
  87. #define SIG_SET_HOLDMASK_STUB        88
  88. #define SIG_RETURN_STUB            89
  89. #define SIG_GET_SIGNAL_STUB        90
  90. #define TEST_PUT_TIME_STUB        91
  91. #define TEST_MEM_CHECK_STUB        92
  92. #define TEST_RETURN1_STUB        93
  93. #define TEST_RETURN2_STUB        94
  94. #define TEST_RPC_STUB            96
  95.  
  96. #define SYS_NUM_CALLS        100
  97.  
  98. #endif /* _SYSCALLNUMS */
  99.